﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace MT.eVotePRS.Presentation.Core
{
    public abstract class AbstractForm : IFormAction
    {
        protected FormLocalSingleton singleton;

        protected string nextViewToDisplay;
        protected Hashtable data = new Hashtable();        

        public AbstractForm()
        {
            singleton = FormLocalSingleton.GetInstance();
            singleton.CurrentAction = this;
        }

        public string NextViewToDisplay
        {
            get { return nextViewToDisplay; }
        }


        public Hashtable Data
        {
            get { return data; }
        }
    }
}
